package o;

import android.content.Context;
import android.content.pm.PackageManager.NameNotFoundException;

public abstract class dti {
    public static boolean ˏ(Context context, String str) {
        try {
            if (context.getPackageManager().getPackageInfo(str, 0).applicationInfo.enabled) {
                return false;
            }
            return true;
        } catch (NameNotFoundException e) {
            Logger.ˎ("AppStopUtils", e.toString());
            return false;
        }
    }
}
